﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BulldogCMS.Data;

namespace BulldogCMS.Data.Tests
{
    [TestClass]
    public class StorageTest
    {
        private Templates.ITemplatesProvider GetMemoryTemplatesProvider()
        {
            return new Templates.MemoryTemplatesProvider();
        }

        private StorageProviders.MemoryStorageProvider GetMemoryStorageProvider()
        {
            return new StorageProviders.MemoryStorageProvider();
        }

        [TestMethod]
        public void StorageInitialization()
        {
            IStorage storage = new Storage(
                this.GetMemoryStorageProvider()
            );
        }
    }
}
